import com.qf.dao.GoodsTypeDao;
import com.qf.dao.impl.GoodsTypeDaoImpl;
import com.qf.service.GoodsTypeService;
import com.qf.service.Impl.GoodsTypeServiceImpl;
import org.junit.Test;

import java.sql.SQLException;

public class aaaaa {
    @Test
    public void aa(){
        GoodsTypeService goodsTypeService = new GoodsTypeServiceImpl();
        try {
            System.err.println(goodsTypeService.findAllSecondLevelType());
        } catch (SQLException e) {
            e.printStackTrace();
        }
    }
}
